export interface BlogPost {
  id: string;
  title: string;
  content: string;
  excerpt: string;
  publishedAt: string;
  updatedAt: string;
  tags: string[];
  coverImage?: string;
  isPublished: boolean;
  author: string;
}

export interface User {
  id: string;
  name: string;
  email: string;
  avatar?: string;
}

export interface Tag {
  id: string;
  name: string;
  slug: string;
}

export interface Comment {
  id: string;
  postId: string;
  author: string;
  content: string;
  createdAt: string;
}

export type EditorType = 'markdown' | 'richtext';

export interface BlogExport {
  posts: BlogPost[];
  tags: Tag[];
} 